//
//  YWPatrolPointRecord.m
//  maintain
//
//  Created by Kyo on 16/2/22.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import "YWPatrolPointRecord.h"
#import "MJExtension.h"

@implementation YWPatrolPointRecord
+ (NSDictionary*)mj_replacedKeyFromPropertyName
{
    return @{ @"patrolTime" : @"executeTime",
              @"status" : @"resultCode",
              @"posTroubleArray" : @"troubles"};
}
+ (NSDictionary*)mj_objectClassInArray
{
    return @{ @"pictures" : @"YWPatrolPicture",
              @"posTroubleArray" : @"YWTroubleIdJson"};
}
@end

@implementation YWPatrolPointRecordJson
+ (NSDictionary*)mj_objectClassInArray
{
    return @{ @"details" : @"YWPatrolPointRecord" };
}
@end
@implementation YWKeepWatchLocationRecordJson
+ (NSDictionary*)mj_replacedKeyFromPropertyName
{
    return @{ @"status" : @"resultCode",
              @"posTroubleArray" : @"troubles"};
}
+ (NSDictionary*)mj_objectClassInArray
{
    return @{ @"pictures" : @"YWPatrolPicture",
              @"posTroubleArray" : @"YWTroubleIdJson"};
}
@end